Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I617 #618

Merged
merged 3 commits into from Jul 22, 2011
Merged

I617 #618

merged 3 commits into from Jul 22, 2011

Conversation

takluyver
Copy link
Member

Don't try to load readline when using the ZMQ shell. (Fixes #617)

Also, when using %history -g pattern, always show the numbers, because it's not much use if we don't.

@@ -80,6 +80,8 @@ class ZMQInteractiveShell(InteractiveShell):
displayhook_class = Type(ZMQShellDisplayHook)
display_pub_class = Type(ZMQDisplayPublisher)

readline_use = CBool(False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a short comment explaining that this is overriding a parent traitlet b/c in the zmq kernel there's no point in having readline.

@fperez
Copy link
Member

fperez commented Jul 22, 2011

After discussion and review on irc, we'll go with this too right away (modulo the small comments above)

@takluyver takluyver merged commit 28202e8 into ipython:master Jul 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[qtconsole] %hist doesn't show anything in qtconsole
2 participants